package com.iflytek.sbd.service.db.impl;

import com.iflytek.sbd.po.Student;
import com.iflytek.sbd.po.db.Computer;
import com.iflytek.sbd.service.db.RedisService;
import org.springframework.stereotype.Service;

/**
 * @program: sbd
 * @description:
 * @author: 陈英俊
 * @create: 2022-02-28 10:28
 */
@Service
public class RedisServiceImpl implements RedisService {

    @Override
    public String get(String value) {
        System.out.println("从数据库获取数据");
        return value;
    }

    @Override
    public Computer get1(Computer computer) {
        System.out.println("从数据库获取数据");
        return computer;
    }

    @Override
    public Computer get12(Computer computer, Student student) {
        return null;
    }
}
